<?php

// +----------------------------------------------------------------------
// | EasyAdmin
// +----------------------------------------------------------------------
// | PHP交流群: 763822524
// +----------------------------------------------------------------------
// | 开源协议  https://mit-license.org 
// +----------------------------------------------------------------------
// | github开源项目：https://github.com/zhongshaofa/EasyAdmin
// +----------------------------------------------------------------------

namespace app\api\model;

use app\common\model\TimeModel;

class PictureClipboard extends TimeModel
{
    protected $table = 'ea_mall_picture_clipboard';
    public function clipboard(){
        return $this->hasOne(Clipboard::class, 'cid', 'id');
    }

    public function picture(){
        return $this->hasMany(Picture::class,'id','pid');
    }
}